#!/usr/bin/python3
# for.py by Bill Weinman [http://bw.org/]
# This is an exercise file from Python 3 Essential Training on lynda.com
# Copyright 2010 The BearHeart Group, LLC

def main():
    s = 'This is a String'
    for i, s in enumerate(s):
        if s=='s': print ("index is {} ".format(i))

if __name__ == "__main__": main()
